#!/bin/bash
function package() {
    mvn clean package -Dmaven.test.skip=true
}
function build(){
    docker build -t ruoyim:latest .
}
case $1 in
    "build")
        package
        build
        ;;
    *)
        help
        ;;
esac
